package cn.rokhdelar.ams.management.service;

import cn.rokhdelar.ams.common.domain.vo.PageVO;
import cn.rokhdelar.ams.management.domain.po.SysRole;
import cn.rokhdelar.ams.management.domain.query.RoleQuery;
import cn.rokhdelar.ams.management.domain.vo.RoleVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author rokhdelar
 * 针对表【sys_role(角色表)】的数据库操作Service
 * @since 2024-10-02 13:56:45
 */
public interface SysRoleService extends IService<SysRole> {
    PageVO<RoleVO> getRoleListByPage(RoleQuery query);
    RoleVO getRoleById(String id);

    Boolean updateRole(RoleVO role);

    Boolean createRole(RoleVO role);
}
